package com.zelin.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zelin.pojo.Classes;
import com.zelin.mapper.ClassesMapper;
import com.zelin.service.ClassesService;

import java.util.List;

/**
 * Created by WF on 2021/10/12 14:28
 */
@Service
public class ClassesServiceImpl implements ClassesService{

    @Resource
    private ClassesMapper classesMapper;


    /**
     * 功能: 查询所有班极
     * 参数:
     * 返回值: java.util.List<com.zelin.pojo.Classes>
     * 时间: 2021/10/13 15:56
     */
    @Override
    public List<Classes> findAll() {
        return classesMapper.selectByExample(null);
    }
}
